package com.qianfeng.openapi.web.master.service;

import com.github.pagehelper.PageInfo;
import com.qianfeng.openapi.web.master.pojo.ApiMapping;

public interface ApiMappingService {

    int insertApiMapping(ApiMapping apiMapping);

    int updateApiMapping(ApiMapping apiMapping);

    int deleteApiMapping(Integer id);

    ApiMapping getApiMappingById(Integer id);

    void deleteApiMappings(Integer[] ids);

    PageInfo<ApiMapping> getAllApiMappingByPage(Integer page, Integer limit);

    PageInfo<ApiMapping> selectApiMappingByCondition(Integer page,Integer limit,String gatewayApiName, Integer state);


}
